 <?php
include 'class.ezpdf.php';
$pdf=new Cezpdf();
$nomb="Christian";
$pdf->selectFont('fonts/Helvetica.afm');
$pdf->ezText("FRAGANDY ",20,array('justification'=>'center'));
$pdf->ezText("FACTURA \n",15,array('justification'=>'center'));
$pdf->ezText("Direccion   \nTurbaco-Bolivar Calle Santa Catalina #16 ",10,array('justification'=>'center'));
$pdf->ezText("Telefono   \n6720014 ",10,array('justification'=>'center'));
$pdf->ezText("NIT   #8713650 \n\n",10,array('justification'=>'center'));
$pdf->ezText("Factura A: \n",15,array('justification'=>'left'));
$pdf->ezText("Nombre    :  $nomb  ",11,array('justification'=>'left'));
$pdf->ezText("Apellidos  : xxxxx  ",11,array('justification'=>'left'));
$pdf->ezText("Direccion  :  xxx   ",11,array('justification'=>'left'));
$pdf->ezText("Telefono   :  xxxx  ",11,array('justification'=>'left'));
$pdf->ezText("Correo  : xxxxxx",11,array('justification'=>'left'));

$pdf->ezStream();
?>
